package com.un.web.topic.domian.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.un.core.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* @Author xingjian
* @Date 2023-01-31
**/

/**
 * topic_type
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "topic_type")
@AllArgsConstructor
@NoArgsConstructor
public class TopicType extends BaseEntity {

    /**
     * name
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * remark
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * hits
     */
    @TableField(value = "hits")
    private Long hits;

    @TableField(value = "`count`")
    private Integer count;
}